package com.blz.flare.parser;

import java.net.URI;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * Defines the result of a {@link ContentParser}.
 */
public interface ParseResult {

    /**
     * Text of the parse result.
     * @return the text
     */
    String getText();

    /**
     * The title of the parse result.
     * @return the title
     */
    String getTitle();

    /**
     * Get the data from the parse.  (TODO: is this worthwhile)
     * @return the data from the parse
     */
    Map<String, String> getData();

    /**
     * Get any {@link URI}s that need to be parsed.
     * @return a list of URIs
     */
    List<URI> getParsedURIs();
}
